package com.zxl.prototype.type1;
/**
 * ԭ�� ʵ��Cloneable ��Ϊ��ʹ�ø����clone()
 * @author zxl
 * 2016��7��8��
 */
public class Prototype implements Cloneable {
	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Object clone() {
		try {
			return super.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
			return null;
		}
	}
}
